<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<c:set var="ctx" value="${pageContext.request.contextPath}/user"></c:set>         
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-3.2.1.min.js"></script>
<title>增加用户</title>
</head>
<body>
<form method="post" action="${ctx}/update">
    <input type="text" name="id" value="${user.id}" style='dispkay:none;'/><br/>
     姓名：<input type="text" name="username" value="${user.username}"/><br/>
     性别：<input type="text" name="sex" value="${user.sex}"/><br/>
     出生日期：<input type="text" name="birthday" value="${user.birthday}"/><br/>
     地址：<input type="text" name="address" value="${user.address}"/><br/>
     <input type="submit" value="保存修改" > 
 </form>
</body>
</html>